[INFO] cloning repository https://github.com/Mailosz/chess
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mailosz/chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMailosz%2Fchess", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMailosz%2Fchess'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d9278000b65a870c0956c184eced29322f2a5101
[INFO] fixing Mailosz/chess against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMailosz%2Fchess" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Mailosz/chess
[INFO] finished tweaking git repo https://github.com/Mailosz/chess
[INFO] tweaked toml for git repo https://github.com/Mailosz/chess written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Mailosz/chess on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Mailosz/chess already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534
[INFO] running `Command { std: "docker" "start" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.89
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.95
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling wasm-bindgen v0.2.95
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.95
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.95
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.95
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         CURRENT_GAME.replace(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         CURRENT_GAME.replace(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.71s
[INFO] [stderr] crater-edition-check: chess v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking chess v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `borrow::Borrow` and `cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{borrow::Borrow, cell::RefCell};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntoWasmAbi`, `OptionIntoWasmAbi`, and `ReturnWasmAbi`
[INFO] [stdout]  --> src/lib.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wasm_bindgen::{convert::{IntoWasmAbi, OptionIntoWasmAbi, ReturnWasmAbi, WasmAbi}, prelude::*};
[INFO] [stdout]   |                              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     if (position < 56) {
[INFO] [stdout]    |        ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     if (position < 56) {
[INFO] [stdout] 27 +     if position < 56 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |             if (position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty) {
[INFO] [stdout]    |                ^                                                                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -             if (position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty) {
[INFO] [stdout] 32 +             if position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if (position >= 8) {
[INFO] [stdout]    |        ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -     if (position >= 8) {
[INFO] [stdout] 45 +     if position >= 8 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             if (position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty) {
[INFO] [stdout]    |                ^                                                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -             if (position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty) {
[INFO] [stdout] 50 +             if position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]    --> src/lib.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | #[wasm_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::Borrow` and `cell::RefCell`
[INFO] [stdout]  --> src/lib.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{borrow::Borrow, cell::RefCell};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `IntoWasmAbi`, `OptionIntoWasmAbi`, and `ReturnWasmAbi`
[INFO] [stdout]  --> src/lib.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wasm_bindgen::{convert::{IntoWasmAbi, OptionIntoWasmAbi, ReturnWasmAbi, WasmAbi}, prelude::*};
[INFO] [stdout]   |                              ^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]  --> src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use once_cell::sync::Lazy;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:27:8
[INFO] [stdout]    |
[INFO] [stdout] 27 |     if (position < 56) {
[INFO] [stdout]    |        ^             ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -     if (position < 56) {
[INFO] [stdout] 27 +     if position < 56 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |             if (position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty) {
[INFO] [stdout]    |                ^                                                                                         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 32 -             if (position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty) {
[INFO] [stdout] 32 +             if position < 16 && position >= 8 && board.squares[(position + 16) as usize] == Piece::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 |     if (position >= 8) {
[INFO] [stdout]    |        ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 45 -     if (position >= 8) {
[INFO] [stdout] 45 +     if position >= 8 {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/lib.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             if (position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty) {
[INFO] [stdout]    |                ^                                                                                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 50 -             if (position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty) {
[INFO] [stdout] 50 +             if position >= 48 && position < 56 && board.squares[(position - 16) as usize] == Piece::Empty {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:59:1
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]   --> src/lib.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | #[wasm_bindgen]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
[INFO] [stdout]    --> src/lib.rs:105:1
[INFO] [stdout]     |
[INFO] [stdout] 105 | #[wasm_bindgen]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]     = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]     = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WasmAbi`
[INFO] [stdout]  --> src/lib.rs:6:77
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wasm_bindgen::{convert::{IntoWasmAbi, OptionIntoWasmAbi, ReturnWasmAbi, WasmAbi}, prelude::*};
[INFO] [stdout]   |                                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WasmAbi`
[INFO] [stdout]  --> src/lib.rs:6:77
[INFO] [stdout]   |
[INFO] [stdout] 6 | use wasm_bindgen::{convert::{IntoWasmAbi, OptionIntoWasmAbi, ReturnWasmAbi, WasmAbi}, prelude::*};
[INFO] [stdout]   |                                                                             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SpecialX`, `SpecialW`, and `SpecialB` are never constructed
[INFO] [stdout]   --> src/game/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Piece {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  4 |     Empty = 0b0000,
[INFO] [stdout]  5 |     SpecialX = 0b0001,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     SpecialW= 0b0111,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     SpecialB= 0b1110,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/game/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum PlayerColor {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 26 |     White = 1,
[INFO] [stdout] 27 |     Black = 0
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlayerColor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `turn` and `player` are never read
[INFO] [stdout]   --> src/game/mod.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 38 |     pub turn : u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 39 |     pub player : PlayerColor,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `SpecialX`, `SpecialW`, and `SpecialB` are never constructed
[INFO] [stdout]   --> src/game/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  3 | pub enum Piece {
[INFO] [stdout]    |          ----- variants in this enum
[INFO] [stdout]  4 |     Empty = 0b0000,
[INFO] [stdout]  5 |     SpecialX = 0b0001,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     SpecialW= 0b0111,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     SpecialB= 0b1110,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Black` is never constructed
[INFO] [stdout]   --> src/game/mod.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum PlayerColor {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 26 |     White = 1,
[INFO] [stdout] 27 |     Black = 0
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PlayerColor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `turn` and `player` are never read
[INFO] [stdout]   --> src/game/mod.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 38 |     pub turn : u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 39 |     pub player : PlayerColor,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         CURRENT_GAME.replace(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |         CURRENT_GAME.replace(Game::new());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chess` (lib test) due to 1 previous error; 14 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `chess` (lib) due to 1 previous error; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534", kill_on_drop: false }`
[INFO] [stdout] 08826f7b8c09bc0c217983946d2d68f8c4eb7d76a41ad8570363b6e14a1c2534
